import Vue from 'vue'
import Vuex from 'vuex'
import frame from './modules/frame'
import auth from './modules/auth'
import listhost from './modules/host/listhost'
import newhost from './modules/host/newhost'
import edithost from './modules/host/edithost'
import lisips from './modules/ips/listips'
import newips from './modules/ips/newips'
import editips from './modules/ips/editips'
import minions from './modules/salt/minions'
import listsalt from './modules/salt/listsalt'
import listreturns from './modules/salt/listreturns'
import listservice from './modules/service/listservice'
import newservice from './modules/service/newservice'
import editservice from './modules/service/editservice'
import listproject from './modules/project/listproject'
import newproject from './modules/project/newproject'
import editproject from './modules/project/editproject'
import projectSvg from './modules/project/projectSvg'
import projectinfo from './modules/project/projectinfo'
import listPubProject from './modules/publish/listPubProject'
import listbuild from './modules/publish/listbuild'
import listPublish from './modules/publish/listPublish'
import newPublish from './modules/publish/newPublish'
import publishinfo from './modules/publish/publishinfo'
import projectReport from './modules/report/project_report'
import departmentReport from './modules/report/department_report'
import publishReport from './modules/report/publish_report'
import dashboard from './modules/dashboard/dashboard'
import todayPublish from './modules/publish/todayPublish'
import restartService from './modules/publish/restartService'
import fileReplace from './modules/publish/fileReplace'
import nginxlist from './modules/nginx/nginx'
Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    frame: frame,
    auth: auth,
    listhost: listhost,
    newhost: newhost,
    edithost: edithost,
    listips: lisips,
    newips: newips,
    editips: editips,
    minions: minions,
    listsalt: listsalt,
    listreturns: listreturns,
    listservice: listservice,
    newservice: newservice,
    editservice: editservice,
    listproject: listproject,
    newproject: newproject,
    editproject: editproject,
    projectSvg: projectSvg,
    projectinfo: projectinfo,
    listPubProject: listPubProject,
    listbuild: listbuild,
    listPublish: listPublish,
    newPublish: newPublish,
    publishinfo: publishinfo,
    project_report: projectReport,
    department_report: departmentReport,
    publish_report: publishReport,
    dashboard: dashboard,
    todayPublish: todayPublish,
    restartService: restartService,
    fileReplace: fileReplace,
    nginxlist: nginxlist
  }
})
